// components/my-goods-list/my-goods-list.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    goodsList:{
      type:Array,
      value: [],
      // observer:"getBoxSize"
    },
    isFixedTop:{
      type:Boolean,
      value:false
    },
    isZhekou:{
      type:Boolean,
      value:false
    },
    isGuobu:{
      type:Boolean,
      value:false
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    isShow:false
  },

  /**
   * 组件的方法列表
   */
  methods: {
    gocompanydetail(e) {
      const data = e.currentTarget.dataset || e.target.dataset;
      this.triggerEvent("gocompanydetail", {data});
    },
    followClick(e) {
      let {isfav,ShopId} = e.currentTarget.dataset.item;
      this.triggerEvent("followClick", {isfav,ShopId});
    },
    handleScrolltolower(e){
      console.log('滚动----',e)
      this.isShow = true
    }
  }
})
